fw4: allow family `any` for ipsets not matching IP addresses
authorJo-Philipp Wich <[email protected]>
Sat, 27 Jul 2024 13:36:52 +0000 (21:36 +0800)
committerJo-Philipp Wich <[email protected]>
Mon, 17 Mar 2025 15:41:09 +0000 (16:41 +0100)
commitad3cba79c19209beaff61279338b1146b343cdc1
treefa47b4a3d2791d945be6f58e47b3908f07cf1ef7
parent18fc0ead19faf06b8ce7ec5be84957278e942dfa
fw4: allow family `any` for ipsets not matching IP addresses

When filtering by MAC address, it is usually necessary to filter both IPv4
and IPv6.

If it is not allowed to set the family of ipset to any, it will be necessary
to create a separate, identical ipset for both IPv4 and IPv6.

Fixes: https://github.com/openwrt/firewall4/issues/16
Suggested-by: zsien <[email protected]>
[reword commit subject, rewrap commit message]
Signed-off-by: Jo-Philipp Wich <[email protected]>
root/usr/share/ucode/fw4.uc